package QL;

import java.util.Map;

public class ButlerFishingCheatSetRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 玩家Id
    /// </summary>
    public long UserId;

    /// <summary>
    /// 难度变化系数 0表示正常系数 50表示捕获概率提升50% -30表示捕获概率降低30%
    /// </summary>
    public long Degree;

    /// <summary>
    /// 1上分模式 2下分模式
    /// </summary>
    public long Mode;

    /// <summary>
    /// 赢到（或输到）多少？
    /// </summary>
    public long DestGold;

    @Override
    public String GetApiName()
    {
        return "butler.fishing.cheat.set";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("user_id", String.valueOf(UserId));
        map.put("degree", String.valueOf(Degree));
        map.put("mode", String.valueOf(Mode));
        map.put("dest_gold", String.valueOf(DestGold));
    }
}
